package com.ccepc.algmanage.service;

import com.ccepc.demo.api.dto.HkAuthsDto;
import com.obs.services.ObsClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

public interface ObsService {
    public ResponseEntity<Object> uploadImage(MultipartFile file,  ObsClient obsClient, String bucketName);

    public ResponseEntity<Object> displayImage(String filename, ObsClient obsClient, String bucketName);

    public ResponseEntity<Object> deleteImage(String filename, ObsClient obsClient, String bucketName);

    public byte[] uploadAndShowImg(
            ObsClient obsClient,
            String bucketName,
            String fileName,
            String picUrl
    );

}
